﻿using System.Collections.Generic;
using Inovout.Data.Domain;
using Inovout.Security;

namespace Inovout.Membership.Security
{
    public partial class MembershipUser : DataObject
    {
        public MembershipUser()
        {
            Credentials = new DataObjectSet<ICredential>();
            Membership = new Domain.Membership();
        }
        [Alias("用户名")]
        public virtual string Name { get; set; }

        public virtual ISet<Role> Roles { get; set; }
        public virtual ISet<ICredential> Credentials { get; set; }
        public virtual Inovout.Membership.Domain.Membership Membership { get; set; }
    }
}
